@import 'src/res/theme/xxhz';

.isReduceBottom {
  position: relative;
  top: -32PX;
}

.shopInfo {
  margin: 0 20px !important;

  .items-left {
    width: 230px !important;
    height: 230px !important;

    image, .image, .taro-img {
      width: 230px !important;
      height: 230px !important;
    }
  }

  .items-right{
    min-height: 230px !important;
    width: calc(100% - 20px - 230px) !important;
  }
}

.isMinHeight {
  min-height: 67vh;
}

.category {
  margin: 0 25px;

  .salesVolume {
    margin-top: 6px;
    font-size: 22px;
    color: $color-font-less;
    box-sizing: border-box;
  }

  .category-labels {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;

    .category-label {
      margin-top: 8px;
      white-space: nowrap;
      margin-right: 8px;
      border-radius: 26px;
      color: #ff601b;
      padding: 6px 10px;
      font-size: 18px;
      text-align: center;
      border: 1Px solid #ff601b;
    }

    .category-label:last-child {
      margin-right: 0;
    }
  }

  .end-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
  }

  .itemsNoPaddingLR {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0 !important;
    position: relative;
  }

  .itemsNoPaddingLR::after {
    content: ' ';
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: #f3f3f3;
  }

  .items {
    margin-bottom: 18px;
    background: #fff;
    padding: 24px;
    display: flex;
    border-radius: 16px;
    align-items: flex-start;
    min-height: 200px;
    box-sizing: border-box;

    .right-top {
      .pro-name {
        overflow: hidden;
        font-size: 30px;
        font-weight: bold;
        white-space: nowrap;
        text-overflow: ellipsis;
      }

      .sub-title {
        margin-top: 6px;
        -webkit-line-clamp: 2;
        /*! autoprefixer: ignore next */
        -webkit-box-orient: vertical;
        /* autoprefixer: on */
        overflow: hidden;
        font-size: 22px;
        text-overflow: ellipsis;
        display: -webkit-box;
        color: #aaa;
      }

      .label {
        display: flex;
        align-items: center;
        margin-bottom: 10px;

        .labels {
          margin-right: 8px;
          border-radius: 26px;
          color: #ff601b;
          padding: 6px 10px;
          font-size: 14px;
          text-align: center;
          border: 1Px solid #ff601b;
        }

        .labels:last-child {
          margin-right: 0;
        }
      }
    }

    .items-left {
      width: 252px;
      height: 252px;
      margin-right: 18px;
      position: relative;

      .category-discount {
        border-top-left-radius: 20px !important;
      }

      .discount {
        min-width: 50px;
        position: absolute;
        left: 0;
        top: 0;
        color: #fff;
        background-color: #ff2402;
        border-radius: 10px 26px 26px 0;
        text-align: center;
        padding: 0 10px;
        font-size: 22px;
        white-space: nowrap;
      }

      .category-refund-sign {
        margin-right: 10px;
      }
      .refund-sign {
        min-width: 50px;
        position: absolute;
        left: 0;
        top: 0;
        color: #fff;
        background-color: #38ba65;
        border-radius: 10px 0 10px 0;
        text-align: center;
        padding: 0 10px;
        font-size: 22px;
        white-space: nowrap;
      }

      image, .image, .taro-img {
        width: 252px;
        height: 252px;
        border-radius: 10px;
      }
    }

    .items-right {
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      min-height: 252px;
      width: calc(100% - 20px - 252px);

      .price {
        color: #f93d01;
        font-size: 20px;
        font-family: Avenir;
      }

      .true-price {
        color: #f93d01;
        font-size: 44px;
        font-weight: bolder;
        font-family: Avenir;
        margin-right: 5px;
        display: inline;
      }

      .price-right {
        color: #969696;
        text-decoration: line-through;
        font-family: Avenir;
        display: inline;
      }

      .share-earn {
        width: 200px;
        height: 68px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: url("https://resource.ivcheng.com/upload/images/20210824/1629767380064_99.png") no-repeat;
        background-size: cover;

        .share-left {
          font-weight: bold;
          margin-top: 8px;
          width: 50%;
          font-size: 20px;
          color: #332215;
        }

        .price {
          min-width: 50%;
          color: #fff;
          font-size: 20px;

          .true-price-share {
            color: #fff;
            font-size: 24px;
            font-weight: 600;
            display: inline;
          }
        }
      }

      .share-earn-price {
        justify-content: center;
      }

      .snapped-up {
        width: 160px;
        padding: 8Px 4Px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 32px;
        text-align: center;
        color: #000;
        background: #ffdd09;
        font-size: 22px;
      }

      .right-price {
        width: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        font-family: Avenir;

        .price {
          width: calc(100% - 200px);
          display: flex;
          flex-wrap: wrap;
          align-items: baseline;
        }

        .symbol {
          font-size: 22px;
          font-weight: bold;
        }
      }
    }
  }

  .scroll-item:last-child {
    .items::after {
      content: none;
    }
  }

  .recommendation-block-item-bottom-box {
    line-height: inherit;
    width: 60px;
    color: #fff;
    font-size: 18px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    vertical-align: bottom;
    font-family: Avenir;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    padding: 4px;
    position: relative;
    top: 2px;
  }
}
